package jscinttools.scint.coincidence;

import hep.aida.IAnalysisFactory;
import hep.aida.IFunction;

/**
 *  Interface for Coincidence Probability
 *
 *@author     Marc-Antoine Verdier
 *@created    20 avril 2011
 */
public interface CoincidenceProbability
{
	/**  Description of the Field  */
	public final static IAnalysisFactory af = IAnalysisFactory.create();


	/**
	 *  Description of the Method
	 *
	 *@param  ly      Description of the Parameter
	 *@param  tau     Description of the Parameter
	 *@param  tcoinc  Description of the Parameter
	 *@param  m       Description of the Parameter
	 *@param  n       Description of the Parameter
	 *@return         Description of the Return Value
	 */
	public double coincProba(double[] ly, double[] tau, double tcoinc, double m, double n);


	/**
	 *  Description of the Method
	 *
	 *@param  ly      Description of the Parameter
	 *@param  tau     Description of the Parameter
	 *@param  tcoinc  Description of the Parameter
	 *@return         Description of the Return Value
	 */
	public IFunction photonEfficiency(double[] ly, double[] tau, double tcoinc);
}

